package com.fpx.open.platform.domain.ae.cancel;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.xml.bind.annotation.XmlType;

import com.fpx.open.platform.domain.ae.EventHeader;

@XmlType(propOrder = { "eventHeader", "eventBody" })
public class CancelEvent {
    @NotNull
    @Valid
    private EventHeader eventHeader;
    @NotNull
    @Valid
    private CancelEventBody eventBody;
    public EventHeader getEventHeader() {
        return eventHeader;
    }
    public void setEventHeader(EventHeader eventHeader) {
        this.eventHeader = eventHeader;
    }
    public CancelEventBody getEventBody() {
        return eventBody;
    }
    public void setEventBody(CancelEventBody eventBody) {
        this.eventBody = eventBody;
    }
    
}
